package br.com.micronois.poker.model;

public class Naipe {

	private char label;
	private int valor;

	public Naipe(char label) {

		this.label = label;		
		
		switch (label) {

		// COPAS('\u2661'),
		case '\u2661':
			this.valor = 1;
			break;
			// ESPADAS('\u2660'),
		case '\u2660':
			this.valor = 2;
			break;
			// PAUS('\u2663'),
		case '\u2663':
			this.valor = 3;
			break;
			// OUROS('\u2662');
		case '\u2662':
			this.valor = 4;
			break;
		case '\u0058':
		this.valor = 0;
		break;
		}

	}

	public char getLabel() {
		return label;
	}

	public void setLabel(char label) {
		this.label = label;
	}

	public int getValor() {
		return valor;
	}

}
